﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Test
{
    class testClass
    {
        public static void Test()
        {
            Animal fish = new Fish();
            fish.Eat();
        }
    }

    class Animal
    {
        public void Eat()
        {
            Console.Write("Animal");
        }
    }

    class Fish : Animal
    {
        public void Eat()
        {
            Console.Write("fish");
        }
    }
}
